package com.c3w.synchro.member;

import com.c3w.synchro.member.bean.*;

/**
 * User: magirard
 * Date: 13-02-13
 */
public class SynchroServiceUtil {

    public static Athlete createAthlete() {
        Athlete athlete = new Athlete();
        athlete.setAge(10);
        athlete.setName("Annie Latreille");
        athlete.setGender(Member.Gender.F);
        athlete.setClubName("HappyClub");

        return athlete;
    }

    public static Club createClub() {
        Club club = new Club();
        club.setName("Les étoiles de la mer");
        return club;
    }

    public static Coach createCoach() {
        Coach coach = new Coach();
        coach.setName("Julien Thibault");
        coach.setAge(27);
        coach.setGender(Member.Gender.M);
        return coach;
    }

    public static Judge createJudge() {
        Judge judge = new Judge();
        judge.setName("Stephanie St-Gelais");
        judge.setAge(24);
        judge.setGender(Member.Gender.F);
        return judge;
    }

    public static ContactInfo createContactInfo() {
        ContactInfo contactInfo = new ContactInfo();
        contactInfo.setAddress("7209 avenue des pins");
        contactInfo.setEmail("opistou@hotmail.com");
        contactInfo.setPhoneNumber("5551234");
        return contactInfo;
    }

}
